package com.linkgie.galaxyframework.httpproxy.core;

/**
 * 参数定义；
 * 
 * @author huanghaiquan
 *
 * @param <T> 参数的标注定义；
 */
class ParamDefinition<T> {
	
	private int index;
	
	private Class<?> argType;

	private T annotation;

	public int getArgumentIndex() {
		return index;
	}

	public Class<?> getArgumentType() {
		return argType;
	}
	
	public T getAnnotation() {
		return annotation;
	}

	public ParamDefinition(int index, Class<?> argType, T definition) {
		this.index = index;
		this.argType = argType;
		this.annotation = definition;
	}


}